package com.biyabi.pojo;

import java.util.List;

public class CatelogData {
    private String id;
    private String text;
    private String picture;
    private Integer level;
    private Integer isLast;
    private List<CatelogData> children;

    @Override
    public String toString() {
        return "CatelogData{" +
                "id='" + id + '\'' +
                ", text='" + text + '\'' +
                ", picture='" + picture + '\'' +
                ", level=" + level +
                ", isLast=" + isLast +
                ", children=" + children +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getIsLast() {
        return isLast;
    }

    public void setIsLast(Integer isLast) {
        this.isLast = isLast;
    }

    public List<CatelogData> getChildren() {
        return children;
    }

    public void setChildren(List<CatelogData> children) {
        this.children = children;
    }

    public CatelogData(String id, String text, String picture, Integer level, Integer isLast, List<CatelogData> children) {

        this.id = id;
        this.text = text;
        this.picture = picture;
        this.level = level;
        this.isLast = isLast;
        this.children = children;
    }

    public CatelogData() {

    }
}
